<?php
namespace App\Common;
/**
 * Description of Constvars
 * 全局常量定义静态类
 * @author chacha
 * @date 2016-7-9
 */
class Constvars {
    //put your code here
    //所有记录删除/正常标识
    const STATUS_DELETED = 0;//已删除
    const STATUS_NORMAL = 1;
    //职位托管类型
    const JOB_DGTYPE_SINGLE = 1;//单期托管
    const JOB_DGTYPE_SEVRAL = 2;//分期托管
    //职位托管状态
    const JOB_SALARYSTATUS_UNDELTEGETE=0;//未托管
    const JOB_SALARYSTATUS_PARTDG=4;//部分托管
    const JOB_SALARYSTATUS_DG=1;//已托管
    const JOB_SALARYSTATUS_SETTLE=2;//已结算
    const JOB_SALARYSTATUS_PARTSET=5;//部分结算
    const JOB_SALARYSTATUS_FIN=6;//已完成,已结束,当雇员确认雇主已付款，则置为该值
    //职位薪酬发放状态
    const JOB_PAY_NO=0;//不发放
    const JOB_GOPAY=1;//可以发放
    const JOB_PAYED=2;//已发放
    //任职历史，职位离职状态
    //const JOBHIS_QUITYPE_SETTLE=0;//正常结束，成功结算
    //const JOBHIS_QUITYPE_UNSETTLE=1;//中途退出，未领到薪水
    const JOBHIS_QUITYPE_UNQUIT=0;//在职中
    const JOBHIS_QUITYPE_SETTLE=1;//正常结束，成功结算
    const JOBHIS_QUITYPE_UNSETTLE=2;//中途退出，未领到薪水
    //任务紧急程度
    const TASK_FLAG_NORMAL = 1;//普通
    const TASK_FLAG_EMGER = 2;//加急
    //任务进度
    const TASK_PROC_DELETED = 0;
    const TASK_PROC_UNTAKEN = 1;//未开始
    const TASK_PROC_ING = 2;//进行中
    const TASK_PROC_SUBMITED = 3;//已提交
    const TASK_PROC_CHECKED = 4;//已验收
    
    //用户沉默多长时间触发VO邮件通知
    const MAIL_NOTICE_TIME = 259200;//3*24*60*60
    
    //404模板页路径
    const TPL_404 = "../Include/App/Group/Bridge/Tpl/Public_404.html";
    
    //财务系统
    //雇员or雇主身份
    const EMFLAG_EE = 1;//雇员
    const EMFLAG_ER = 2;//雇主
    //钱包状态标识
    const WALLET_STATUS_NORMAL = 1;//正常
    //充值进度
    const CHARGE_PRO_UNDEAL = 1;//等待处理
    const CHARGE_PRO_FIN = 2;//充值成功
    const CHARGE_PRO_CANCEL = 3;//用户取消
    //提现账户类型
    const ACCOUNT_TYPE_ALIPAY = 1;//支付宝
    const ACCOUNT_TYPE_BANKCARD = 2;//银行账户
    //提现申请进度状态
    const WITHDRAW_PROCESSING = 1;//处理中
    const WITHDRAW_SUC = 2;//成功
    const WITHDRAW_CANCEL = 3;//取消
    //催促托管or付款
    const URGEPAY_DG = 1;//催促托管
    const URGEPAY_SETTLE = 2;//催促付款
    
    //评价系统
    //评价类型
    const APPRAISE_TO_EMPLOYER = 1;//雇员评价雇主
    const APPRAISE_TO_EMPLOYEE = 2;//雇主评价雇员
    
    //================================
    //错误代码
    //================================
    
    const ERR_WITHDRAW_LESSPFOFILE = 1;//
}
